<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%><head>
	<sx:head extraLocales="en-us,nl-nl,de-de" />
	<link href="../Admin-CSS/style.css" rel="stylesheet" type="text/css" />
</head>


<s:form method="post" action="searchResult.htm" theme="simple">
	<table width="100%">
		<tr>
			<td>
				<div class="blue-text16" style="margin: 0px 0px 0px 0px">
					Smart search
				</div>
				<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
				<div style="margin: 0px 0px 0px 0px" class="common-text">
					Use this form to find exactly what you need.
				</div>
		<tr>
			<td>
				<table class="common-text">
					<tr>
						<td>
							<s:actionerror cssClass="error-text" />
							<s:fielderror cssClass="error-text" />
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="common-text">
										Words to search for:
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple"
											name="searchText" maxlength="50" />
										(required)
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<table width="100%">
								<tr>
									<td width="195" class="common-text">
										<s:checkbox name="titleAndDescription" fieldValue="true" />
										Search title and description
										<a href="help/searchtips.htm" class="home-navi-link-bold">Keyword
											search tips</a>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="common-text">
										Category:
									</td>
									<td class="common-text">
										<select name="Cat_ID" size="1" class="textfield"
											style="width: 225px;"
											onchange="getDropDownCatAdv(this.value)">
											<option value="13898"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Aniruddha (0)
											</option>
											<option value="1"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Antiques &amp; Art (2)
											</option>
											<option value="2"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Automobiles (0)
											</option>
											<option value="3"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Books (0)
											</option>
											<option value="4"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Business, Office &amp; Industrial (0)
											</option>
											<option value="5"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Clothing &amp; Accessories (0)
											</option>
											<option value="6"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Coins, Paper Money &amp; Stamps (0)
											</option>
											<option value="7"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Collectibles (2)
											</option>
											<option value="8"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Computers &amp; Internet (0)
											</option>
											<option value="9"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Consumer Electronics (0)
											</option>
											<option value="10"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Dolls &amp; Bears (0)
											</option>
											<option value="11"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Home &amp; Garden (0)
											</option>
											<option value="12"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Jewelry, Gems &amp; Watches (0)
											</option>
											<option value="13899"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Michael (0)
											</option>
											<option value="13"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Miscellaneous (1)
											</option>
											<option value="14"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Movies &amp; Television (0)
											</option>
											<option value="15"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Music (0)
											</option>
											<option value="16"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Photo (2)
											</option>
											<option value="17"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Pottery &amp; Glass (0)
											</option>
											<option value="18"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Real Estate (0)
											</option>
											<option value="19"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Sports (0)
											</option>
											<option value="5096"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Test (0)
											</option>
											<option value="20"
												style="color: rgb(0, 0, 255); font-weight: bold;">
												----Tickets &amp; Travel (0)
											</option>
											<option value="21"
												style="color: rgb(0, 0, 255); font-weight: bold; background-color: rgb(238, 238, 238);">
												----Toys &amp; Hobbies (0)
											</option>
										</select>
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Type:
									</td>
									<td class="common-text">
										<select name="Type" size="1" class="textfield"
											style="width: 225px;">
											<option value="0">
												All items
											</option>
											<option value="1">
												Auction
											</option>
											<option value="2">
												Fixed price
											</option>
											<option value="3">
												Shops
											</option>
											<option value="4">
												Items wanted
											</option>
											<option value="5">
												Advertisements
											</option>
											<option value="6">
												Company profiles
											</option>
										</select>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="common-text">
										Language:
									</td>
									<td class="common-text">
										<select name="language" class="textfield">
											<option value="">
												------------ All ------------
											</option>
											<option value="EUR">
												English
											</option>
											<option value="USD">
												Hindi
											</option>
										</select>

									</td>
									<td class="common-text">
										Currency:
									</td>
									<td class="common-text">
										<select name="Currency" class="textfield">
											<option value="">
												------------ All ------------
											</option>
											<option value="EUR">
												Euro
											</option>
											<option value="USD">
												US Dollar
											</option>
										</select>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="common-text">
										Sort by:
									</td>
									<td class="common-text">
										<select name="Sortby" class="textfield" style="width: 225px;">
											<option value="">
												--Select Value--
											</option>
											<option value="endsoon">
												Time: ending soonest
											</option>
											<option value="newlist">
												Time: newly listed
											</option>
											<option value="endtoday">
												Time: ending today
											</option>
											<option value="newtoday">
												Time: new today
											</option>
										</select>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text" colspan="2">
										Search by region:
									</td>
								</tr>
								<tr>
									<td class="common-text" colspan="2">
										<select name="CatA_ID" size="1" class="textfield"
											style="width: 225px;"
											onchange="getDropDownCouAdv(this.value)">
											<option value="192">
												----Africa (0)
											</option>
											<option value="194">
												----Europe (1)
											</option>
											<option value="1560">
												----European Union (1)
											</option>
											<option value="1556">
												----Far East (1)
											</option>
											<option value="193">
												----Central America (0)
											</option>
											<option value="191">
												----Middle East (0)
											</option>
											<option value="1563">
												----North Africa (0)
											</option>
											<option value="4078">
												----North America (0)
											</option>
											<option value="195">
												----Oceania (0)
											</option>
											<option value="2094">
												----Russian Federation (0)
											</option>
											<option value="1561">
												----South America (0)
											</option>
											<option value="1558">
												----South Asia (2)
											</option>
											<option value="1559">
												----South East Asia (0)
											</option>
											<option value="1557">
												----Central Asia (0)
											</option>
										</select>
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Location:
									</td>

									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
										City, State (e.g., Knoxville, TN)
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text">
										Search by price:
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Price range:
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
									</td>
									<td class="common-text">
										to
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Buy price:
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
									</td>
									<td class="common-text">
										to
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text" colspan="2">
										Search by item number:(Optional)
									</td>
								</tr>
								<tr>
									<td class="common-text" colspan="2">
										Use this form to find exactly where your item or any specific
										item is listed. Please enter the item number.
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Item Nr.:
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
										(required)
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text">
										Search by seller:(Optional)
									</td>
								</tr>
								<tr>
									<td class="common-text">
										List all auctions of any seller.
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Seller's user ID:
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
										(required)
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text">
										Search by bidder:(Optional)
									</td>
								</tr>
								<tr>
									<td class="common-text">
										List all auctions a user is bidding on.
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Bidder's user ID:
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="terms"
											maxlength="50" />
										(required)
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text">
										Search by ending time
									</td>
								</tr>
								<tr>
									<td class="common-text">
										List all auctions with end time.
									</td>
								</tr>
								<tr>
									<td class="common-text">
										End Time :
									</td>
									<td class="common-text">
										<sx:datetimepicker value="%{'today'}" toggleType="wipe"
															toggleDuration="300" name="test" />
									<!-- (required) -->
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="search-text">
										Search by quantity
									</td>
								</tr>
								<tr>
									<td class="common-text">
										List all auctions by quantity.
									</td>
								</tr>
								<tr>
									<td class="common-text">
										Quantity :
									</td>
									<td class="common-text">
										<s:textfield cssClass="textfield" theme="simple" name="endtime"
											maxlength="50" />
									<!-- (required) -->
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div class="header-separator-bg"
								style="margin: 10px 5px 17px 0px"></div>
						</td>
					</tr>
					<tr>
						<td colspan="4" align="center">
							<table border="0" cellpadding="0">
								<tbody>
									<tr>
										<td align="center">
											<table border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
													<td class="btn-grey-middle1 "><s:submit value="Search" theme="simple" cssClass="submit-btn-common" /></td>
													<td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
												</tr>
											</table>

										</td>

										<td align="left" valign="top" nowrap="nowrap">
											Results per page:
										</td>
										<td>
											<select name="PageSize" size="1" class="textfield">
												<option value="5">
													5
												</option>
												<option value="10">
													10
												</option>
												<option value="25" selected="selected">
													25
												</option>
												<option value="50">
													50
												</option>

												<option value="75">
													75
												</option>
												<option value="100">
													100
												</option>
												<option value="150">
													150
												</option>
												<option value="200">
													200
												</option>
												<option value="250">
													250
												</option>
											</select>
										</td>
									</tr>
								</tbody>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</s:form>